package com.tools.s7.recycler.listener;

import android.view.View;

/**
 * Created by Administor on 2018\7\11 0011.
 */
public class Recycler {


    public interface OnClickListener<T> {
        void onItemClick(View view, int position, T data);
    }

    public interface OnCheckedChangeListener<T> {
        void onCheckedChange(View view, int position, boolean b, T data);
    }


    public interface OnItemClickListener<T> {
        void onItemClick(int realPosition, T data);
    }

    public interface OnItemLongClickListener<T> {
        void onItemLongClick(int position, T data);
    }

    public interface OnLoadingListener {

        void onReload();

        void onLoading();
    }


}
